Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
List journal entry lines with optional filters.
cURL
curl --request GET \ --url https://api.hyperline.co/v1/accounting/journal-entry-lines \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.hyperline.co/v1/accounting/journal-entry-lines" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.hyperline.co/v1/accounting/journal-entry-lines', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.hyperline.co/v1/accounting/journal-entry-lines", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer <token>" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.hyperline.co/v1/accounting/journal-entry-lines" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.get("https://api.hyperline.co/v1/accounting/journal-entry-lines") .header("Authorization", "Bearer <token>") .asString();
require 'uri' require 'net/http' url = URI("https://api.hyperline.co/v1/accounting/journal-entry-lines") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer <token>' response = http.request(request) puts response.read_body
{ "meta": { "total": 123, "taken": 123, "skipped": 123 }, "data": [ { "id": "<string>", "line_number": 123, "date": "2023-12-25", "description": "<string>", "type": "debit", "amount": 123, "amount_in_original_currency": 123, "original_currency": "EUR", "original_currency_exchange_rate": "<string>", "original_currency_exchange_rate_date": "2023-12-25", "entry_id": "<string>", "ledger_account_id": "<string>", "invoice_line_item_id": "<string>", "rule_id": "<string>", "rule_code": "<string>", "rule_name": "<string>", "product_id": "<string>", "invoicing_entity_id": "<string>", "created_at": "2023-12-25", "updated_at": "2023-12-25", "entry_status": "draft", "entry_posted_at": "2023-12-25", "entry_number": "<string>", "customer_id": "<string>", "customer_name": "<string>", "account_code_snapshot": "<string>", "account_name_snapshot": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
0 <= x <= 100
x >= 0
ID of the journal entry to filter lines by.
ID of the ledger account to filter lines by.
ID of the invoice line item to filter lines by.
Filter by debit or credit line type.
debit
credit
ID of the invoicing entity to filter lines by.
Filter by parent journal entry status.
draft
posted
ID of the customer to filter lines by.
Search line amount or parent entry data.
Filter by parent entry year.
2000 <= x <= 2100
Filter by parent entry quarter.
1 <= x <= 4
Pagination metadata.
Show child attributes
Journal-entry lines returned by the request.
Was this page helpful?